package com.aiyun.demo.controller;

import com.aiyun.demo.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuhuan
 * @create 2018-07-12 10:14
 **/
@RestController
@RequestMapping
public class EmployeeController {
    @Autowired
    private EmployeeService employeeService;

    @RequestMapping("/test")
    public String test(){

       return  employeeService.save();

    }
}
